//
//  BFShOrderModel.h
//  BeautyFood
//
//  Created by apple on 2020/5/5.
//  Copyright © 2020 stoneobs. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class BFShOrderModelGoodsModel;
@class BFShOrderModelShopModel;

@interface BFShOrderModel : NSObject
@property(nonatomic, strong) NSString                     *integral;/**< 使用积分，1积分1块钱 */
@property(nonatomic, strong) NSString                     *postage;/**< 邮费 */

@property(nonatomic, strong) NSString                     *o_id ;/**<  订单id*/
@property(nonatomic, strong) NSString                     *is_evaluate ;/**<  订单编号*/
@property(nonatomic, strong) NSString                     *status_text ;/**<  订单总额*/
@property(nonatomic, strong) NSString                     *total_price;/**<  */
@property(nonatomic, strong) NSString                     *status ;/**<  订单状态 */
@property(nonatomic, strong) NSString                     *created_at ;/**<  时间*/
@property(nonatomic, strong) NSArray<BFShOrderModelGoodsModel*>                     *details;/**<  */
@property(nonatomic, assign) BOOL                      can_cancle;/**< 半小时之内 */
@property(nonatomic, strong) BFShOrderModelShopModel                     *shop;/**< <##> */
@property(nonatomic, strong) NSString                     *cus_deal_status_string ;/**<  文字*/


@property(nonatomic, strong) NSString                     *detail;/**<  地址*/
@property(nonatomic, strong) NSString                     *user_name;/**<  */
@property(nonatomic, strong) NSString                     *phone;/**<  */

@property(nonatomic, strong) NSString                     *finish_at;/**< 完成时间 */
@property(nonatomic, strong) NSString                     *nu;/**<  物流单号*/
@property(nonatomic, strong) NSString                     *nu_code;/**< 快递公司编号 */
@property(nonatomic, strong) NSString                     *nu_text;/**< 快递公司名字 */
@property(nonatomic, strong) NSString                     *order_no;/**<  订单编号*/

@property(nonatomic, strong) NSString                     *send_at;/**< 发货时间 */
@property(nonatomic, strong) NSString                     *pay_at;/**< 支付时间 */
@property(nonatomic, strong) NSString                     *pay_info;/**< 支付信息 */

@property(nonatomic, strong) NSString                     *deal_status ;/**<   订单状态  -1 => '已取消', 0  => '待分拣' ,  1  => '分拣中' ,   2  => '分拣完成（出库）' ,  3  => '到达分仓' , 4  => '已送达', 5  => '已完成',  6  => '售后中', 7=>'售后处理完成' */

@end

@interface BFShOrderModelGoodsModel : NSObject

@property(nonatomic, strong) NSString                     *goods_id ;/**<  */
@property(nonatomic, strong) NSString                     *goods_name ;/**<  */
@property(nonatomic, strong) NSString                     *goods_img ;/**<  */
@property(nonatomic, strong) NSString                     *spec_id ;/**<  */
@property(nonatomic, strong) NSString                     *spec ;/**<  */
@property(nonatomic, strong) NSString                     *num ;/**<  */
@property(nonatomic, strong) NSString                     *remark ;/**<  */
@property(nonatomic, strong) NSString                     *total_price ;/**<  总价*/
@property(nonatomic, strong) NSString                     *type_name ;/**<  单价*/

@property(nonatomic, strong) NSString                     *postage ;/**<  运费*/
@property(nonatomic, strong) NSString                     *price ;/**<  单价*/


@property(nonatomic, assign) BOOL                       cus_selected;/**<  */

@end

@interface BFShOrderModelShopModel : NSObject
@property(nonatomic, strong) NSString                     *province;/**<  */
@property(nonatomic, strong) NSString                     *city;/**<  */
@property(nonatomic, strong) NSString                     *district;/**<  */
@property(nonatomic, strong) NSString                     *address;/**<  */
@property(nonatomic, strong) NSString                     *shop_name;/**<  */
@property(nonatomic, strong) NSString                     *user_name;/**<  */
@property(nonatomic, strong) NSString                     *user_phone;/**<  */
@end
NS_ASSUME_NONNULL_END
